﻿using Volo.Abp;
using Volo.Abp.Autofac;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.BackgroundWorkers;
using Volo.Abp.Modularity;

namespace SyncWayBill
{

    [DependsOn(
        typeof(AbpAutofacModule),
        typeof(AbpBackgroundJobsModule)
    )]
    public class SyncWayBillModule : AbpModule
    {
        public override void OnApplicationInitialization(ApplicationInitializationContext context)
        {
            context.AddBackgroundWorker<PassiveUserCheckerWorker>();
            context.AddBackgroundWorker<RegSendWorker>();
        }
    }
}
